Errore PostGres --> ERROR: invalid input syntax for type integer: "42 on 24-02-2017" LINE 6: WHERE "s"."species_code" = '42 on 24-02-2017' LIMIT 1 ^